package main

import (
	"fmt"
	"strings"
)

func main_() {
	str := "1|不服判决;2|不服裁定;3|不服调解;4|申请执行监督;5|国家赔偿;6|不服再审判决;7|不服再审裁定;8|不服驳回再审申请裁定;9|不服不予再审决定书;10|不立案;11|不收材料;12|不答复"
	split := strings.Split(str, ";")
	var s = "INSERT INTO TS_BZDM (KIND,BT,CODE,MC,SFJY ,PXH ,CODENOW ,VER ) VALUES ('%s','%s','%s','%s','0',%d,'V09','09');\n"
	kind := "09002"
	bt := "信访目的"
	for i, v := range split {
		kv := strings.Split(v, "|")
		fmt.Printf(s, kind, bt, "zg09_"+kind+"-"+kv[0], kv[1], i+1)
	}
}
